package com.xjm.i1.core.struct.location;

import com.xjm.i1.constant.ColorEnum;
import com.xjm.i1.constant.MaxGrayEnum;
import lombok.Data;

import java.util.List;

/**
 * 阶调与灰度偏差坐标映射
 * */
@Data
public class MaxDataPointMap {

    // 颜色
    private ColorEnum colorSign;

    // 灰度
    private MaxGrayEnum graySign;

    // 灰度或阶调
    private PointMapType mapType;

    // 坐标映射
    private List<Point> points;

    public MaxDataPointMap(ColorEnum colorSign, MaxGrayEnum graySign, PointMapType mapType, List<Point> points) {
        this.colorSign = colorSign;
        this.graySign = graySign;
        this.mapType = mapType;
        this.points = points;
    }

    public enum PointMapType{
        COLOR_CONTRAS, COLOR_GRAY
    }
}
